Optimal. Leaf size=184 \[ \frac {b c d (f x)^{2+m} \sqrt {-1+c x} \sqrt {1+c x}}{f^2 (3+m)^2}+\frac {d (f x)^{1+m} \left (a+b \cosh ^{-1}(c x)\right )}{f (1+m)}-\frac {c^2 d (f x)^{3+m} \left (a+b \cosh ^{-1}(c x)\right )}{f^3 (3+m)}-\frac {b c d (7+3 m) (f x)^{2+m} \sqrt {1-c^2 x^2} \, _2F_1\left (\frac {1}{2},\frac {2+m}{2};\frac {4+m}{2};c^2 x^2\right )}{f^2 (1+m) (2+m) (3+m)^2 \sqrt {-1+c x} \sqrt {1+c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.19, antiderivative size = 184, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {14, 5921, 12,
471, 127, 372, 371} \begin {gather*} -\frac {c^2 d (f x)^{m+3} \left (a+b \cosh ^{-1}(c x)\right )}{f^3 (m+3)}+\frac {d (f x)^{m+1} \left (a+b \cosh ^{-1}(c x)\right )}{f (m+1)}-\frac {b c d (3 m+7) \sqrt {1-c^2 x^2} (f x)^{m+2} \, _2F_1\left (\frac {1}{2},\frac {m+2}{2};\frac {m+4}{2};c^2 x^2\right )}{f^2 (m+1) (m+2) (m+3)^2 \sqrt {c x-1} \sqrt {c x+1}}+\frac {b c d \sqrt {c x-1} \sqrt {c x+1} (f x)^{m+2}}{f^2 (m+3)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 127
Rule 371
Rule 372
Rule 471
Rule 5921
Rubi steps
\begin {align*} \int (f x)^m \left (d-c^2 d x^2\right ) \left (a+b \cosh ^{-1}(c x)\right ) \, dx &=\frac {d (f x)^{1+m} \left (a+b \cosh ^{-1}(c x)\right )}{f (1+m)}-\frac {c^2 d (f x)^{3+m} \left (a+b \cosh ^{-1}(c x)\right )}{f^3 (3+m)}-(b c) \int \frac {d (f x)^{1+m} \left (3+m-c^2 (1+m) x^2\right )}{f (1+m) (3+m) \sqrt {-1+c x} \sqrt {1+c x}} \, dx\\ &=\frac {d (f x)^{1+m} \left (a+b \cosh ^{-1}(c x)\right )}{f (1+m)}-\frac {c^2 d (f x)^{3+m} \left (a+b \cosh ^{-1}(c x)\right )}{f^3 (3+m)}-\frac {(b c d) \int \frac {(f x)^{1+m} \left (3+m-c^2 (1+m) x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{f \left (3+4 m+m^2\right )}\\ &=\frac {b c d (f x)^{2+m} \sqrt {-1+c x} \sqrt {1+c x}}{f^2 (3+m)^2}+\frac {d (f x)^{1+m} \left (a+b \cosh ^{-1}(c x)\right )}{f (1+m)}-\frac {c^2 d (f x)^{3+m} \left (a+b \cosh ^{-1}(c x)\right )}{f^3 (3+m)}-\frac {(b c d (7+3 m)) \int \frac {(f x)^{1+m}}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{f (1+m) (3+m)^2}\\ &=\frac {b c d (f x)^{2+m} \sqrt {-1+c x} \sqrt {1+c x}}{f^2 (3+m)^2}+\frac {d (f x)^{1+m} \left (a+b \cosh ^{-1}(c x)\right )}{f (1+m)}-\frac {c^2 d (f x)^{3+m} \left (a+b \cosh ^{-1}(c x)\right )}{f^3 (3+m)}-\frac {\left (b c d (7+3 m) \sqrt {-1+c^2 x^2}\right ) \int \frac {(f x)^{1+m}}{\sqrt {-1+c^2 x^2}} \, dx}{f (1+m) (3+m)^2 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {b c d (f x)^{2+m} \sqrt {-1+c x} \sqrt {1+c x}}{f^2 (3+m)^2}+\frac {d (f x)^{1+m} \left (a+b \cosh ^{-1}(c x)\right )}{f (1+m)}-\frac {c^2 d (f x)^{3+m} \left (a+b \cosh ^{-1}(c x)\right )}{f^3 (3+m)}-\frac {\left (b c d (7+3 m) \sqrt {1-c^2 x^2}\right ) \int \frac {(f x)^{1+m}}{\sqrt {1-c^2 x^2}} \, dx}{f (1+m) (3+m)^2 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {b c d (f x)^{2+m} \sqrt {-1+c x} \sqrt {1+c x}}{f^2 (3+m)^2}+\frac {d (f x)^{1+m} \left (a+b \cosh ^{-1}(c x)\right )}{f (1+m)}-\frac {c^2 d (f x)^{3+m} \left (a+b \cosh ^{-1}(c x)\right )}{f^3 (3+m)}-\frac {b c d (7+3 m) (f x)^{2+m} \sqrt {1-c^2 x^2} \, _2F_1\left (\frac {1}{2},\frac {2+m}{2};\frac {4+m}{2};c^2 x^2\right )}{f^2 (1+m) (2+m) (3+m)^2 \sqrt {-1+c x} \sqrt {1+c x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.49, size = 193, normalized size = 1.05 \begin {gather*} d x (f x)^m \left (-\frac {b c x \sqrt {1-c^2 x^2} \, _2F_1\left (\frac {1}{2},1+\frac {m}{2};2+\frac {m}{2};c^2 x^2\right )}{\left (2+3 m+m^2\right ) \sqrt {-1+c x} \sqrt {1+c x}}+\frac {-\frac {\left (-3-m+c^2 x^2+c^2 m x^2\right ) \left (a+b \cosh ^{-1}(c x)\right )}{1+m}+\frac {b c^3 x^3 \sqrt {1-c^2 x^2} \, _2F_1\left (\frac {1}{2},2+\frac {m}{2};3+\frac {m}{2};c^2 x^2\right )}{(4+m) \sqrt {-1+c x} \sqrt {1+c x}}}{3+m}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 9.05, size = 0, normalized size = 0.00 \[\int \left (f x \right )^{m} \left (-c^{2} d \,x^{2}+d \right ) \left (a +b \,\mathrm {arccosh}\left (c x \right )\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - d \left (\int \left (- a \left (f x\right )^{m}\right )\, dx + \int \left (- b \left (f x\right )^{m} \operatorname {acosh}{\left (c x \right )}\right )\, dx + \int a c^{2} x^{2} \left (f x\right )^{m}\, dx + \int b c^{2} x^{2} \left (f x\right )^{m} \operatorname {acosh}{\left (c x \right )}\, dx\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,\left (d-c^2\,d\,x^2\right )\,{\left (f\,x\right )}^m \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________